<extend name="Public:innerbase" />

<block name="js">

<script src="{:RES}/js/date/WdatePicker.js"></script>

</block>

<block name="content">

<div class="container-fluid">

	<ul class="nav nav-tabs wm-tabs">

		<li><a href="{:U('Member/pay')}">充值记录</a></li>
		<li class="active"><a href="javascript:void(0)">统计信息</a></li>
		<!-- <li><a href="{:U('Member/check',['id'=>$_GET['id']])}">会员审核</a></li> -->

	</ul>

	<div class="page-header wm-page-header">

	 	 <form method="get" action="__SELF__" class="form-inline">
	 			<label>开始日期</label>
	 			<input name="startdate" type="date" value="{$_GET['startdate']}" class="form-control" />
	 			<label>结束日期</label>
	 			<input name="enddate" type="date" value="{$_GET['enddate']?$_GET['enddate']:$date|time=''}" class="form-control" />
	 			<button class="btn btn-primary" type="submit">
	 				<span class="glyphicon glyphicon-search"></span>
	 				查询
	 			</button>
	 			</form> 
	</div>

	<TABLE class="table wm-table-bordered table-striped table-hover">

		<THEAD>

		<TR>

			<TH>日期</TH>	

			<TH>用户数</TH>

			<TH>总单数</TH>

			<TH>成功单数</TH>

			<TH>总金额</TH>

			<TH>成功金额</TH> 


		</TR>

		</THEAD>

		<TBODY>

		<volist id="list" name="list">

		<TR>

			<TD>{$list.date}</TD>

			<TD>{$list.disuseridcount}</TD>

			<TD>{$list.useridcount}</TD>

			<TD>{$list.sucstatuscount}</TD>

			<TD>￥{$list.pricesum|round=###,2}</TD>

			<TD>￥{$list.sucpricesum|round=###,2}</TD>

			
			

		</form>

		</TR>

		</volist>

	  </TBODY>

	</TABLE>

	<div>{$page}</div>

</div>

</block>